package com.itheima.vo;

import com.alibaba.excel.annotation.ExcelProperty;

import java.math.BigDecimal;
import java.time.LocalDateTime;

public class OrderVo {
    @ExcelProperty(index = 0, value = "订单号")
    //订单号
    private String number;

    @ExcelProperty(index = 0, value = "订单状态")
    //订单状态 1待付款，2待派送，3已派送，4已完成，5已取消
    private Integer status;

    @ExcelProperty(index = 1, value = "用户")
    //下单用户id
    private Long userId;

    @ExcelProperty(index = 2, value = "手机号")
    //手机号
    private String phone;

    @ExcelProperty(index = 3, value = "地址")
    //地址
    private String address;

    @ExcelProperty(index = 4, value = "下单时间")
    //下单时间
    private LocalDateTime orderTime;

    @ExcelProperty(index = 5, value = "实收金额")
    //实收金额
    private BigDecimal amount;
}
